package com.ruoyi.maode.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 零件批次列表查询返回类
 *
 * @author zhangwenqiang
 */
@Data
public class PartBatchVO implements Serializable {

    @ApiModelProperty("零件批次ID")
    private Long id;

    @ApiModelProperty("零件ID")
    private Long partId;

    @ApiModelProperty("零件批次号")
    private String batchCode;

    @ApiModelProperty("零件名称")
    private String partName;

    @ApiModelProperty("物料编码")
    private String partCode;

    @ApiModelProperty("零件重量")
    private String partWeight;

    @ApiModelProperty("供应厂商")
    private String supplierName;

    @ApiModelProperty("毛坯厂家ID")
    private Long roughSupplierId;

    @ApiModelProperty("毛坯厂家名称")
    private String roughSupplierName;

    @ApiModelProperty("类型,0-样件，1-批量，2-量产")
    private String type;

    @ApiModelProperty("批次状态，0-待审批，1-审批中，2-审批完成")
    private Integer status;

    @ApiModelProperty("审核结果，0-不合格，1-合格，2-未出结果")
    private Integer result;

    @ApiModelProperty("报告地址")
    private String reportUrl;

    @ApiModelProperty("来货数量")
    private String total;

    @ApiModelProperty("是否有报告,0-否，1-是")
    private Integer isApprove;

    @TableField(value = "create_time")
    @ApiModelProperty(value = "添加时间")
    private Date createTime;


}
